package ooday03;

public class Teacher extends Peaple implements SolveProblem,Train,WriteBook{
    Teacher(String name,int age,double salary){
        super(name,age,salary);
    }
    public void solveProblem(){
        System.out.println(name+"已经解决问题...");
    }
    public void train(){
        System.out.println(name+"正在培训学员...");
    }
    public void writeBook(){
        System.out.println(name+"正在编写教学内容...");
    }
    void finishWork(){}
}
